package cn.sunxyz.behavior.command;

/**
 * Created by yangrd on 2017/5/13.
 */
public class Client {
    public static void main(String[] args) {
        Receiver receiver = new Receiver();
        Command myCommand = new MyCommand(receiver);
        Invoker invoker = new Invoker(myCommand);
        invoker.action();
    }
}
